package cz.semjobKB.treex.service.impl;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StartRMI {

    private final static Logger logger = Logger.getLogger(StartRMI.class);

	/**
	 * Starts the Treex RMI service, listening port is specified in the application context 
	 * @param args Arguments
	 */
	public static void main(String[] args) {		
		ApplicationContext context = new ClassPathXmlApplicationContext("classpath*:spring-config-server.xml");
        logger.info("Waiting for requests");
	}
}
